/*
 * @Autor: lq
 * @Date: 2023-09-09 09:06:03
 * @LastEditTime: 2023-09-09 09:09:29
 * @Description:
 */
import NProgress from 'nprogress'
import 'nprogress/nprogress.css'

NProgress.configure({
  easing: 'ease',
  speed: 1000,
  showSpinner: false,
  trickleSpeed: 200,
  minimum: 0.3
})

export const start = () => {
  NProgress.start()
}

export const close = () => {
  NProgress.done()
}
